CC = gcc
CFLAGS = -g -Wall -I..
LDFLAGS= -Llib -Wl,-rpath,lib
LIBS = 
SRCS = ../multipart_parser.c web.c 
OBJS = $(SRCS:.c=.o)

all: web

web: $(OBJS)
	$(CC) $(OBJS) -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS)

%o: %c
	$(CC) $(CFLAGS) -c -o $@ $<

clean: 
	rm -f *~ $(OBJS)


